<!doctype html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?= $this->e($title) ?></title>
    <?php if ($this->section('css')): ?>
        <?= $this->section('css') ?>
    <?php else: ?>
        <link href="<?= getCSS('bootstrap.min') ?>">
    <?php endif; ?>
</head>
<body>
<div class="page-header">
    <?php if ($this->section('header')): ?>
        <?= $this->section('header') ?>
    <?php else: ?>
        <h1>Header</h1>
        <p>头部</p>
    <?php endif; ?>
</div>
<div class="container">
    <?php if ($this->section('container')): ?>
        <?= $this->section('container') ?>
    <?php else: ?>
        <p>container</p>
    <?php endif; ?>
</div>
<div class="footer">
    <?php if ($this->section('footer')): ?>
        <?= $this->section('footer') ?>
    <?php else: ?>
        <p>footer</p>
    <?php endif; ?>
</div>
</body>
</html>